package com.tfjybj.itoo.teach.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * RoomTimeModel
 * 教室占用情况表（备注：暂时用于教学管理服务排课测试，待确认）
 *
 * @author 田成荣 
 * @version 2.0.0
 * @since 2.0.0 2018-11-09 20:33:20
 */
@ApiModel(value = "RoomTimeModel:教室占用情况表（备注：暂时用于教学管理服务排课测试，待确认）")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class RoomTimeModel implements Serializable {

    //region 模板逆向生产来自RoomTimeEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "roomTime主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 校区
	 */
    @ApiModelProperty(value = "校区")
	private String schoolBranch;

	/**
	 * 教学楼ID
	 */
	@ApiModelProperty(value = "教学楼ID",required = true)
	private String buildingId;

	/**
	 * 教学楼名称
	 */
    @ApiModelProperty(value = "教学楼名称")
	private String buildingName;

	/**
	 * 房间id
	 */
	@ApiModelProperty(value = "房间id",required = true)
	private String roomId;

	/**
	 * 教室名称
	 */
    @ApiModelProperty(value = "教室名称")
	private String roomName;

	/**
	 * 容量
	 */
    @ApiModelProperty(value = "容量")
	private Integer capacity;

	/**
	 * 星期
	 */
    @ApiModelProperty(value = "星期")
	private String week;

	/**
	 * 节次id
	 */
	@ApiModelProperty(value = "节次id",required = true)
	private String cellTimeId;

	/**
	 * 节次名称
	 */
    @ApiModelProperty(value = "节次名称")
	private String cellTimeName;

	/**
	 * 教师id
	 */
	@ApiModelProperty(value = "教师id",required = true)
	private String teacherId;

	/**
	 * 上课班id
	 */
	@ApiModelProperty(value = "上课班id",required = true)
	private String teachClassId;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */

	@ApiModelProperty(value = "占用统计")
	private Integer useCount;

}
